package com.hengtian.roastwall.listener.myEvent;

import lombok.Data;
import org.springframework.context.ApplicationEvent;


public class TestApplicationEvent extends ApplicationEvent {
    private String eventInfo;
    public TestApplicationEvent(Object source) {
        super(source);
    }

    public TestApplicationEvent(Object source, String eventInfo) {
        super(source);
        this.eventInfo = eventInfo;
    }

    public String getEventInfo() {
        return eventInfo;
    }

    public void setEventInfo(String eventInfo) {
        this.eventInfo = eventInfo;
    }
}
